home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#48 (Sep 89)
/
Data Editor Source
/
StorMF.inc
< prev
next >
Wrap
Text File
|
1988-07-11
|
8KB
|
215 lines
C MACRO COMMAND PARAMETER LIST
integer*4 OpnAlt,OpnDlg
parameter (OpnAlt = 3)
parameter (OpnDlg = 4)
integer*4 DoEvnt
parameter (DoEvnt = 100)
integer*4 OpnFil,StdOpn,SavFil,StdSav,AppFil,SetDir,SetTyp
parameter (OpnFil = 201)
parameter (StdOpn = -201)
parameter (SavFil = 202)
parameter (StdSav = -202)
parameter (AppFil = 203)
parameter (SetDir = 209)
parameter (SetTyp = -209)
integer*4 RetTxt,RetCtl,DoTran,DoQuit
parameter (RetTxt = 206)
parameter (RetCtl = -206)
parameter (DoTran = 207)
parameter (DoQuit = 208)
integer*4 MovIns,TabFrm,ShoSel,ClrSel,FixGrf,SelAll
integer*4 DesAll,ExpTab,ComPic,SelFrm,NewPic,NewBit
integer*4 ShoOff,RotLft,RotRit
parameter (MovIns = 302)
parameter (TabFrm = 302)
parameter (ShoSel = -302)
parameter (ClrSel = 306)
parameter (FixGrf = -306)
parameter (SelAll = 308)
parameter (DesAll = -308)
parameter (ExpTab = 310)
parameter (ComPic = -310)
parameter (SelFrm = 311)
parameter (NewPic = 314)
parameter (NewBit = 315)
parameter (ShoOff = 321)
parameter (RotLft = 331)
parameter (RotRit = 332)
integer*4 ShoFul,ShoGrf,HidGrf,ShoEd1,HidEd1,ShoEd2,HidEd2
integer*4 ShoEd3,HidEd3,ShoEd4,HidEd4,ShoSh1,HidSh1,ShoSh2
integer*4 HidSh2,ShoSh3,HidSh3,ShoSh4,HidSh4,ShoAll,HidAll
parameter (ShoFul = 400)
parameter (ShoGrf = 401)
parameter (HidGrf = -401)
parameter (ShoEd1 = 402)
parameter (HidEd1 = -402)
parameter (ShoEd2 = 403)
parameter (HidEd2 = -403)
parameter (ShoEd3 = 404)
parameter (HidEd3 = -404)
parameter (ShoEd4 = 405)
parameter (HidEd4 = -405)
parameter (ShoSh1 = 406)
parameter (HidSh1 = -406)
parameter (ShoSh2 = 407)
parameter (HidSh2 = -407)
parameter (ShoSh3 = 408)
parameter (HidSh3 = -408)
parameter (ShoSh4 = 409)
parameter (HidSh4 = -409)
parameter (ShoAll = 410)
parameter (HidAll = -410)
integer*4 GrfTxt,GrfFnt,GrfCol
parameter (GrfTxt = 417)
parameter (GrfFnt = 418)
parameter (GrfCol = 419)
integer*4 SetSh1,SetSh2,SetSh3,SetSh4,MovSh1,MovSh2
integer*4 MovSh3,MovSh4,FixSh1,FixSh2,FixSh3,FixSh4
parameter (SetSh1 = 461)
parameter (SetSh2 = 462)
parameter (SetSh3 = 463)
parameter (SetSh4 = 464)
parameter (MovSh1 = 471)
parameter (MovSh2 = 472)
parameter (MovSh3 = 473)
parameter (MovSh4 = 474)
parameter (FixSh1 = 481)
parameter (FixSh2 = 482)
parameter (FixSh3 = 483)
parameter (FixSh4 = 484)
integer*4 GetStr,SetStr
parameter (GetStr = 491)
parameter (SetStr = 492)
integer*4 I4ToS,I2ToS,R10ToS,R8ToS,R4ToS
parameter (I4ToS = 493)
parameter (I2ToS = 494)
parameter (R10ToS = 495)
parameter (R8ToS = 496)
parameter (R4ToS = 497)
integer*4 Real2S,S2Real
parameter (Real2S = 497)
parameter (S2Real = 498)
integer*4 NewBlk
parameter (NewBlk = 499)
C 2K OF MEMORY SHARED WITH FACEIT
logical*4 frameflag,viewflag,sizeflag,dragflag
logical*4 errflag,WNEflag
character*4 creator,ftype1,ftype2
character*8 prcheck
character*256 MAC,name
integer*2 screenrect(4),origin(2),oldframe(4),event(8)
integer*2 frame(4),dialog(100),tabsize(5),fontsize(4)
integer*2 facepen(21),listID(20),fixrect(4),I2
integer*2 selrect1(4),selrect2(4),selrect3(4),selrect4(4)
integer*4 toppict,selpict,pictinfo,windptr(10),menuhdl(99)
integer*4 texthdl(5),ctlhdl(10),viewhdl,r,w,wmax,pictlimit
integer*4 textlimit,vref,nextvref,applvref,dialptr,filefix
integer*4 printhdl,textstat,graphstat,miscinfo,scratch,smax
integer*4 findhdl,cps,lpp,cpl,pagenum(2),quitstat,returnstat
integer*4 pagesize(2),headhdl,dataptr,wio,arrayptr(4)
integer*4 picrecord,bitrecord,FACEhdl,macro(5),grafpats(4)
integer*4 menuID,menuitem,SMFstat,facesleep,editargs(10)
integer*4 grozonptr,memstat,wordchar(8),offscrnptr,heapbuff
integer*4 FACEptr(20),curstat,editflags(5),I4,infosize
real*4 scale(2),slope(10),intercept(10),R4
real*8 R8
integer*4 storage(512)
common/macstuff/storage
C STRUCTURES, PROCEDURES, AND PARAMETERS
equivalence (storage(1),toppict)
equivalence (storage(2),selpict)
equivalence (storage(3),pictinfo)
equivalence (storage(4),windptr(1))
equivalence (storage(14),offscrnptr)
equivalence (storage(34),texthdl(1))
equivalence (storage(39),ctlhdl(1))
equivalence (storage(49),wio)
equivalence (storage(50),macro(1))
equivalence (storage(55),menuhdl(1))
equivalence (storage(154),facepen(1))
equivalence (storage(165),infosize)
equivalence (storage(166),I4)
equivalence (storage(167),I2)
equivalence (storage(170),R8)
equivalence (storage(172),R4)
equivalence (storage(173),fixrect(1))
equivalence (storage(175),selrect1(1))
equivalence (storage(177),selrect2(1))
equivalence (storage(179),selrect3(1))
equivalence (storage(181),selrect4(1))
equivalence (storage(183),curstat)
equivalence (storage(184),arrayptr(1))
equivalence (storage(188),FACEptr(1))
equivalence (storage(208),grafpats(1))
equivalence (storage(212),heapbuff)
equivalence (storage(213),wordchar(1))
equivalence (storage(221),memstat)
equivalence (storage(222),grozonptr)
equivalence (storage(223),editargs(1))
equivalence (storage(233),facesleep)
equivalence (storage(234),event(1))
equivalence (storage(238),screenrect(1))
equivalence (storage(240),viewhdl)
equivalence (storage(241),r)
equivalence (storage(242),frameflag)
equivalence (storage(243),w)
equivalence (storage(244),wmax)
equivalence (storage(245),picrecord)
equivalence (storage(246),bitrecord)
equivalence (storage(247),pictlimit)
equivalence (storage(248),textlimit)
equivalence (storage(249),vref)
equivalence (storage(250),nextvref)
equivalence (storage(251),applvref)
equivalence (storage(252),creator)
equivalence (storage(253),ftype1)
equivalence (storage(254),ftype2)
equivalence (storage(255),dialptr)
equivalence (storage(256),filefix)
equivalence (storage(257),printhdl)
equivalence (storage(258),textstat)
equivalence (storage(259),graphstat)
equivalence (storage(260),miscinfo)
equivalence (storage(261),FACEhdl)
equivalence (storage(262),scratch)
equivalence (storage(263),findhdl)
equivalence (storage(264),oldframe(1))
equivalence (storage(266),quitstat)
equivalence (storage(267),returnstat)
equivalence (storage(268),smax)
equivalence (storage(269),WNEflag)
equivalence (storage(270),SMFstat)
C USER-ADJUSTABLE VARIABLES
equivalence (storage(271),tabsize(1))
equivalence (storage(274),fontsize(1))
equivalence (storage(276),editflags(1))
equivalence (storage(281),cps)
equivalence (storage(282),lpp)
equivalence (storage(283),cpl)
equivalence (storage(284),prcheck)
equivalence (storage(286),pagenum(1))
equivalence (storage(288),pagesize(1))
equivalence (storage(291),origin(1))
equivalence (storage(292),scale(1))
equivalence (storage(294),viewflag)
equivalence (storage(295),sizeflag)
equivalence (storage(296),dragflag)
equivalence (storage(297),headhdl)
C COMMUNICATIONS VARIABLES
equivalence (storage(299),menuID)
equivalence (storage(300),menuitem)
equivalence (storage(301),dataptr)
equivalence (storage(302),listID(1))
equivalence (storage(312),slope(1))
equivalence (storage(322),intercept(1))
equivalence (storage(332),frame(1))
equivalence (storage(334),dialog(1))
equivalence (storage(384),errflag)
equivalence (storage(385),MAC)
equivalence (storage(449),name)